package com.example.finalapplication;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import androidx.appcompat.app.AppCompatActivity;

public class EnterActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_enter);
        Intent intent = getIntent();
    }

    public void open_animal(View btn) {
       // Button btn_animal = findViewById(R.id.btn_animal);
      Intent config1 = new Intent(this, AnimalActivity.class);
      startActivity(config1);
    }
     public void open_plants(View btn) {

      Intent config2 = new Intent(this, PlantsActivity.class);
      startActivity(config2);
    }
    public void open_mine(View btn) {

      Intent config3 = new Intent(this, MineActivity.class);
      startActivity(config3);
    }
}